package cn.itrip.dao;

import cn.itrip.DTO.ItripHotelRoomDTO;
import cn.itrip.entity.ItripHotelRoom;
import cn.itrip.vo.biz.SearchHotelRoomVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItripHotelRoomMapper extends BaseMapper<ItripHotelRoom> {
    ItripHotelRoom getItripHotelRoomByHotelAndId(@Param("hotelId") Long hotelId,@Param("roomId") Long roomId);
    List<ItripHotelRoomDTO> getItripHotelRoomListByMap(SearchHotelRoomVO vo) throws Exception;
    ItripHotelRoom getItripHotelRoomById(@Param(value = "id") Long id) throws Exception;

}
